package com.lxyk.service.student;

import com.github.pagehelper.PageInfo;
import com.lxyk.domain.Student;
import com.lxyk.domain.StudentVO;

public interface CommonService {

    PageInfo<StudentVO> findStudentByCid(Integer cid, Integer pageNum, Integer pageSize);

    PageInfo<StudentVO> findStudentByCondition(StudentVO vo, Integer pageNum, Integer pageSize);

    void addStudent(StudentVO vo);

    StudentVO findStudentById(Integer id);

    void updateStudent(Student student);

    StudentVO findDetailById(Integer id);

    StudentVO findClassByCid(Integer cid);

}
